package com.wondersgroup.fjzlpt.tbxt.controller.view.wsj;

import com.alibaba.fastjson.JSONObject;
import com.wondersgroup.fjzlpt.tbxt.util.ControllerUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import java.util.UUID;

/**
 * 卫生局填报与审核
 * Created by sanma on 2017/7/18.
 */
@Controller
@RequestMapping("wsj")
public class WsjController {


	/**
	 * 审核主页面
	 * @param request
	 * @return
	 */
    @RequestMapping("/bbsh.html")
    public String bbsh(HttpServletRequest request)
    {
        //UUID uuid = UUID.randomUUID();
        //request.setAttribute("ID", uuid);
        JSONObject requestData = ControllerUtils.getRequestData(request);
        request.setAttribute("requestData", requestData);
        return "tbym/wsj/bbsh";
    }
    
    /**
     * 基层年报审核
     * @param request
     * @return
     */
    @RequestMapping("/jcnbSh.html")
    public String jcnbSh(HttpServletRequest request)
    {
        return "tbym/wsj/sh/jcnbSh";
    }

    /**
     * 基层季报审核
     * @param request
     * @return
     */
    @RequestMapping("/jcjbSh.html")
    public String jcjbSh(HttpServletRequest request)
    {
        return "tbym/wsj/sh/jcjbSh";
    }
    
    /**
     * 综合年报审核
     * @param request
     * @return
     */
    @RequestMapping("/zhnbSh.html")
    public String zhnbSh(HttpServletRequest request)
    {
        return "tbym/wsj/sh/zhnbSh";
    }
    
    /**
     * 卫生局年报审核
     * @param request
     * @return
     */
    @RequestMapping("/wsjnbSh.html")
    public String wsjnbSh(HttpServletRequest request)
    {
        return "tbym/wsj/sh/wsjnbSh";
    }
    
    /**
     * 基层月报审核
     * @param request
     * @return
     */
    @RequestMapping("/jcybSh.html")
    public String jcybSh(HttpServletRequest request)
    {
        return "tbym/wsj/sh/jcybSh";
    }
    
    /**
     * 综合月报审核
     * @param request
     * @return
     */
    @RequestMapping("/zhybSh.html")
    public String zhybSh(HttpServletRequest request)
    {
        return "tbym/wsj/sh/zhybSh";
    }
    
    /**
     * 卫生局月报审核
     * @param request
     * @return
     */
    @RequestMapping("/wsjybSh.html")
    public String wsjybSh(HttpServletRequest request)
    {
        return "tbym/wsj/sh/wsjybSh";
    }
    
    /**
     * 报表审核记录
     * @param request
     * @return
     */
    @RequestMapping("/bbShjl.html")
    public String bbShjl(HttpServletRequest request)
    {
        return "tbym/wsj/sh/bbShjl";
    }
}
